import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'append'
})
export class AppendPipe implements PipeTransform {

  transform(value: string, ...args: string[]): string {
    let str = '';
    for(let i=0; i<args.length; i++){
      str += args[i];
    }
    return value + str;
  }

}
